home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / x-ttcidfont-conf.config < prev    next >
Text File  |  2008-06-17  |  569b  |  29 lines

  1. #! /bin/sh
  2.  
  3. set -e
  4.  
  5. . /usr/share/debconf/confmodule
  6.  
  7. FILE='/etc/defoma/config/x-ttcidfont-conf.conf'
  8.  
  9. X_TRUETYPE_METHOD=
  10. if [ -f $FILE ]; then
  11.   /bin/sed -e 's/^SPACING_FOR_FIXED.*//' $FILE > $FILE.new
  12.   /bin/mv $FILE.new $FILE
  13.   . $FILE
  14. fi
  15.  
  16. if [ "$X_TRUETYPE_METHOD" = xtt ] || [ "$X_TRUETYPE_METHOD" = freetype ]; then
  17.     db_set x-ttcidfont-conf/tt_backend  $X_TRUETYPE_METHOD
  18. fi
  19.  
  20. db_input medium x-ttcidfont-conf/tt_backend || true
  21. db_go
  22.  
  23. db_get x-ttcidfont-conf/tt_backend || true
  24. if [ "$RET" = xtt ]; then
  25.  db_input low x-ttcidfont-conf/xtt_vl || true
  26.  db_go
  27. fi
  28.  
  29.